#pragma once

struct Ray
{
	Ray(XMVECTOR position, XMVECTOR direction)
	{ Position = position; Direction = direction; }
	XMVECTOR Position;
	XMVECTOR Direction;
};

class Scene;

XMVECTOR raymarch(const Ray & ray, const Scene & scene, int dX, int dY);